package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.entity.Authority;
import com.zhuoshi.mapper.AuthorityMapper;
import com.zhuoshi.service.AuthorityService;

@Service("authorityService")
public class AuthorityServiceImpl implements AuthorityService{
	
	@Autowired
	private AuthorityMapper authorityMapper;
	
	//根据角色id查询权限
	public List<Authority> selectAllAuthorityByRoleIdLiu(int roleid) {
		return authorityMapper.selectAllAuthorityByRoleIdLiu(roleid);
	}

}
